package com.sxjh.entity.param;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author zxz
 * @Date 2021/11/22
 * @Description:
 */
@Data
public class BalanceRepostParam {
    /**
     * 上一个月
     */
    public String lastSettlementMonth;
    /**
     * 结算月
     */
    public String settlementMonth;
    /**
     * 物料id
     */
    public Integer materialId;
    /**
     * 物料大类id
     */
    public Integer categoryId;
    /**
     * 物料大类id
     */
    public Integer supplierId;
    /**
     * 开始时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    public Date startTime;
    /**
     * 结束时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    public Date endTime;

    /**
     * 汇款开始时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    public Date remittanceStartTime;

    /**
     * 汇款结束时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    public Date remittanceEndTime;

    public String startTimeStr;
    public String endTimeStr;


    public String startCreditTimeStr;
    public String endCreditTimeStr;

    public String remittanceStartTimeStr;
    public String remittanceEndTimeStr;

    public String saveMonth;


}
